package com.ticket.sass.admin.business;


import com.ticket.sass.admin.dto.input.commodity.CommodityAddInput;
import com.ticket.sass.admin.dto.input.commodity.CommodityListInput;
import com.ticket.sass.admin.dto.input.commodity.CommodityUpdInput;
import com.ticket.sass.admin.dto.input.commodity.PublishInput;
import com.ticket.sass.admin.dto.output.commodity.CommodityInfoOutput;
import com.ticket.sass.admin.dto.output.commodity.CommodityListOutput;
import com.ticket.sass.admin.model.PageModel;

/**
 * @author ywb
 * @date 2023-03-31 14:59
 */
public interface CommodityBusiness {
    PageModel<CommodityListOutput> list(CommodityListInput input);
    
    void add(CommodityAddInput input);
    
    void upd(CommodityUpdInput input);
    
    CommodityInfoOutput info(Long id);
    
    void publish(PublishInput input);
    
    void unpublished(PublishInput input);
}
